package com.hdu.ordered;

public class RandomSelector implements Selector{
    @Override
    public int select(int totalLen, String key) {
        return (int) (Math.random() * totalLen);
    }
}
